package com.bayern.muchen.more_test.ordertest.mapper;

import com.bayern.muchen.more_test.ordertest.pojo.OrderEntity;
import com.bayern.muchen.more_test.ordertest.pojo.WareEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author QIUYANG
 * @title: OrderMapper
 * @description: TODO
 * @date 2022/1/1416:09
 */
@Mapper
@Component
public interface OrderMapper {

    List<OrderEntity> selectAll();

    int insert(OrderEntity entity);


    int lockWare(WareEntity wareEntity);
}
